package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author Yami
 */
@Data
@TableName("tz_prod_prop_value")
public class ProdPropValue implements Serializable{
    /**
     *
     */
    private static final long serialVersionUID = 6604406039354172708L;

    /**
     * 属性值ID
     */
    @TableId
    @Schema(description = "属性值ID", required = true)
    private Long valueId;

    /**
     * 属性值名称
     */
    @TableField(exist=false)
    @Schema(description = "属性值名称不能超过20个字")
    private String propValue;

    /**
     * 属性ID
     */
    @Schema(description = "属性ID")
    private Long propId;

    @TableField(exist=false)
    @Schema(description = "属性值语言列表")
    private List<ProdPropValueLang> prodPropValueLangList;

}
